projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5525395
)
(Finsert_file_contents): Don't call signal_after_change
author
Richard M. Stallman
<rms@gnu.org>
Tue, 23 Nov 1993 10:09:44 +0000
(10:09 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 23 Nov 1993 10:09:44 +0000
(10:09 +0000)
if we did not call prepare_to_modify_buffer.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 5b5c78c6f53cf1b278c3bb7b8a4360a8821d428d..09313252a3a105d2e9bd56a822c959c647fe252e 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2558,7
+2558,8
@@
If VISIT is non-nil, BEG and END must be nil.")
report_file_error ("Opening input file", Fcons (filename, Qnil));
}
- signal_after_change (point, 0, inserted);
+ if (NILP (visit) && total > 0)
+ signal_after_change (point, 0, inserted);
if (inserted > 0)
{